package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_look_me")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LookMeModel {
    @TableId(type = IdType.AUTO)
    public int id;
    public int rid;//hrID
    public int cid;//个人ID
    public int userType;//1HR2个人
    public String crtTime;//创建时间
    public int pid;//岗位ID
    public int eid;//企业ID
    public int lookMeType;//1谁看我2关注3收藏
    @TableField(exist = false)
    public String formatTime;
    @TableField(exist = false)
    public CustomerModel cus;//个人
    @TableField(exist = false)
    public ComRecruitersModel com;//hr
    @TableField(exist = false)
    public EnterpriseModel ent;//公司
    @TableField(exist = false)
    public JobPublishModel jobPublish;
    @TableField(exist = false)
    public int state;
    @TableField(exist = false)
    public int followCount;
    @TableField(exist = false)
    public int favouriteCount;
    @TableField(exist = false)
    public int lookMeCount;
    @TableField(exist = false)
    public int deliveryCount;
    @TableField(exist = false)
    public int jobPublishCount;





}
